import { IFeidaoAiBrowserComponent } from '@dfeidao/web/interfaces';

import get from '@dfeidao/atom-web/local/get';
import remove from '@dfeidao/atom-web/local/remove';


export default async function a016(fd: IFeidaoAiBrowserComponent) {
	const curr_dept = get(fd, 'curr_dept') as { id: string };
	if (!curr_dept.id) {
		remove(fd, 'curr_dept');
	}

}
